<!--<?php
if($_viewer->part == 'urgent'){
print <<<EOT
-->
<div onmousedown="read.move(event);" style="cursor: move;" class="popTop"><span onclick="closep();" class="adel cp">关闭</span>加急房源</div>
<form action="{$_viewer->act[urgent]}" method="post">
    <table style="width:480px">
        <tr class="tr3">
            <td colspan="2" class="popTip">1.房源加急后将在房源列表和房源详情页显示加急图标，浏览量大，效果明显。<br />2.管理员操作不扣除管理员积分。</td>
        </tr>
    </table>
<table style="width:480px">
	<tr class="tr3"><td width="80">操作类型</td><td class="td2">
		<label><input checked="checked" onclick="doAndCacle('urgent',1);" name="isurgent" value="1" type="radio" />加急</label>                
	 	<label><input name="isurgent" onclick="doAndCacle('urgent',0);" value="0" type="radio" />取消加急</label></td></tr>
	<tr class="tr3"><td>房源类型:</td><td>出售</td></tr>
	<tr class="tr3" id="pricetr" style="display:"><td>价格:</td><td>{$_viewer->house_sale_rapidprice}{$_viewer->house_sale_rapidcredit}/天</td></tr>
	<tr class="tr3" id="daytr" style="display:"><td>加急天数:</td><td>
	<select name="days" onchange="document.getElementById('totalprice').innerHTML = {$_viewer->house_sale_rapidprice} * this.value">
		<option selected="selected" value="1">1</option>
		<option value="2">2</option>
		<option value="3">3</option>
		<option value="4">4</option>
		<option value="5">5</option>
		<option value="6">6</option>
		<option value="7">7</option>
		<option value="8">8</option>
		<option value="9">9</option>
		<option value="10">10</option>
	</select> 天
	</td></tr>
	<tr class="tr3" id="totaltr" style="display:"><td>总价:</td><td><span id="totalprice">{$_viewer->house_sale_rapidprice}</span>{$_viewer->house_sale_rapidcredit}</td></tr>
	<tr class="tr3" id="cretr" style="display:none"><td>退还积分</td><td class="td2"><label><input checked="checked" name="isback" value="1" type="radio" />启用</label> &nbsp;&nbsp; <label><input name="isback" value="0" type="radio" />关闭</label></td></tr>
	<tr class="tr3" id="msgtr" style="display:none"><td>发送消息</td><td class="td2"><label><input checked="checked" name="ismsg" value="1" type="radio" />启用</label> &nbsp;&nbsp; <label><input name="ismsg" value="0" type="radio" />关闭</label></td></tr>
</table>
<div class="popBottom">
<span class="btn2"><span><button type="button" name="ajaxsubmit" onclick="ajax.submit(this.form,ajax.guide);">提 交</button></span></span>
</form>
</div>
<!--
EOT;
}else if($_viewer->part == 'top'){
print <<<EOT
-->
<div onmousedown="read.move(event);" style="cursor: move;" class="popTop"><span onclick="closep();" class="adel cp">关闭</span>置顶房源</div>
	<form action="{$_viewer->act[top]}" method="post">
        <table style="width:480px">
            <tr class="tr3">
                <td colspan="2" class="popTip">1.房源置顶后将随机显示在房源列表的顶部，大幅提高房源曝光率。<br />2.管理员操作不扣除管理员积分。</td>
            </tr>
        </table>
		<table style="width:480px">
			<tr class="tr3"><td width="80">操作类型</td><td class="td2">
				<label><input checked="checked" name="istop" onclick="doAndCacle('top',1);" value="1" type="radio" />置顶</label>               
			 	<label><input name="istop" value="0" onclick="doAndCacle('top',0);" name="istop"  type="radio" />取消置顶</label></td></tr>
			<tr class="tr3"><td>房源类型:</td><td>出售</td></tr>
			<tr class="tr3" id="pricetr" style="display:"><td>价格:</td><td>{$_viewer->house_sale_topprice}{$_viewer->house_sale_topcredit}/天</td></tr>
			<tr class="tr3" id="daytr" style="display:"><td>置顶天数:</td><td>
			<select name="days" onchange="document.getElementById('totalprice').innerHTML = {$_viewer->house_sale_topprice} * this.value">
				<option selected="selected" value="1">1</option>
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
				<option value="5">5</option>
				<option value="6">6</option>
				<option value="7">7</option>
				<option value="8">8</option>
				<option value="9">9</option>
				<option value="10">10</option>
			</select> 天
			</td></tr>
			<tr class="tr3" id="totaltr" style="display:"><td>总价:</td><td><span id="totalprice">{$_viewer->house_sale_topprice}</span>{$_viewer->house_sale_topcredit}</td></tr>
			<tr class="tr3" id="cretr" style="display:none"><td>退还积分</td><td class="td2"><label><input checked="checked" name="isback" value="1" type="radio" />启用</label> &nbsp;&nbsp; <label><input name="isback" value="0" type="radio" />关闭</label></td></tr>
			<tr class="tr3" id="msgtr" style="display:none"><td>发送消息</td><td class="td2"><label><input checked="checked" name="ismsg" value="1" type="radio" />启用</label> &nbsp;&nbsp; <label><input name="ismsg" value="0" type="radio" />关闭</label></td></tr>
		</table>
		<div class="popBottom">
		<span class="btn2"><span><button type="button" name="ajaxsubmit" onclick="ajax.submit(this.form,ajax.guide)">提 交</button></span></span>
		</form>
	</div>
<!--
EOT;
}else if($_viewer->part == 'del'){
print <<<EOT
-->
<div onmousedown="read.move(event);" style="cursor: move;" class="popTop"><span onclick="closep();" class="adel cp">关闭</span>删除操作</div>
		<table style="width:400px">
			<tr class="tr3"><td width="80">确认删除所选记录？</td></tr>
		</table>
		<div class="popBottom">
		<span class="btn2"><span><button type="button" name="ajaxsubmit" onclick="sendmsg('{$_viewer->act[delete]}');">提 交</button></span></span>
</div>
<!--
EOT;
}else if($_viewer->part == 'report'){
print <<<EOT
-->
<div onmousedown="read.move(event);" style="cursor: move;" class="popTop">
<span onclick="closep();" class="adel">删除</span>出售房源举报</div>
<table width="380" cellspacing="0" cellpadding="0">
	<tbody>
		<tr>
			<td>
				感谢您能一起协助我们管理站点，我们会尽快处理您的举报内容！
			</td>
		</tr>
		<tr>
			<td>
				<div class="p10">
					<textarea class="textareaA" name="reason" id="reason"></textarea>
				</div>
			</td>
		</tr>
		<tr style="display:none">
			<td>
				<div style="margin-left: 5px;">
					<label>
						<input type="checkbox" value="1"  name="ifsendmsg" id="ifsendmsg" />发信息通知版主
					</label>
				</div>
			</td>
		</tr>
	</tbody>
</table>


<div class="popBottom">
	<span class="btn2">
		<span>
			<button onclick="sendmsg('{$_viewer->act[report]}',reportData());" type="button">提 交</button>
		</span>
	</span>
</div>
<!--
EOT;
}else if($_viewer->part == 'permit'){
print <<<EOT
-->
<div id="pw_box" class="" style="position: absolute; z-index: 10; left: 385.5px; visibility: visible; top: 274.333px;">
<div class="popout">
<table cellspacing="0" cellpadding="0" border="0">
	<tbody>
		<tr>
			<td class="bgcorner1"></td>
			<td class="pobg1"></td>
			<td class="bgcorner2"></td>
		</tr>
		<tr>
			<td class="pobg4"></td>
		<td>
		<div id="box_container" class="popoutContent">
			<div style="width: 480px;">
				<div onmousedown="read.move(event);" class="popTop cp">条款内容</div>
				<table width="100%">
					<tbody>
						<tr>
							<td>
								<div style="width: 460px; height: 220px; overflow: auto; border: 1px solid rgb(238, 238, 238);">
									 <br>
					注册许可协议的内容。支持html代码。<br>
					如: <font color="red">您好</font><a href="http://www.phpwind.net">phpwind board</a><br>
					代表: 您好phpwind board<br>
					<br>
					当您申请用户时，表示您已经同意遵守本规章。 欢迎您加入本站点参加交流和讨论，本站点为公共论坛，为维护网上公共秩序和社会稳定，请您自觉遵守以下条款： 一、不得利用本站危害国家安全、泄露国家秘密，不得侵犯国家社会集体的和公民的合法权益，不得利用本站制作、复制和传播下列信息：　 （一）煽动抗拒、破坏宪法和法律、行政法规实施的；　（二）煽动颠覆国家政权，推翻社会主义制度的；　（三）煽动分裂国家、破坏国家统一的；　（四）煽动民族仇恨、民族歧视，破坏民族团结的；　（五）捏造或者歪曲事实，散布谣言，扰乱社会秩序的；　（六）宣扬封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪的；　（七）公然侮辱他人或者捏造事实诽谤他人的，或者进行其他恶意攻击的；　（八）损害国家机关信誉的；　（九）其他违反宪法和法律行政法规的；　（十）进行商业广告行为的。二、互相尊重，对自己的言论和行为负责。三、禁止在申请用户时使用相关本站的词汇，或是带有侮辱、毁谤、造谣类的或是有其含义的各种语言进行注册用户，否则我们会将其删除。四、禁止以任何方式对本站进行各种破坏行为。五、如果您有违反国家相关法律法规的行为，本站概不负责，您的登录论坛信息均被记录无疑，必要时，我们会向相关的国家管理部门提供此类信息。 
								</div>
							</td>
						</tr>
					</tbody>
				</table>
				<div class="popBottom">
					<span class="btn2">
						<span><button onclick="unpermit();" type="button">同 意</button></span>
					</span>
				</div>
			</div>
		</div>
		</td>
		<td class="pobg2"></td>
		</tr>
		<tr>
		<td class="bgcorner4"></td>
		<td class="pobg3"></td>
		<td class="bgcorner3"></td>
		</tr>
	</tbody>
</table>
</div>
</div>
<!--
EOT;
}
?>-->